package com.serial.comm.modular.serialPort.dao;

import com.serial.comm.modular.serialPort.model.Origin;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 原始电报信息表 Mapper 接口
 * </p>
 *
 * @author chentl123
 * @since 2020-02-21
 */
public interface OriginMapper extends BaseMapper<Origin> {
    /**
     * 新建一条 电报元数据
     *
     * @param origin
     */
    Integer createOriginTelegramAndGetId(@Param("origin") Origin origin);
}
